<template>
  <main class="about">
    <a-card hoverable>
      <template #cover>
        <a-image alt="cover" :src="cover" />
      </template>
      <template class="ant-card-actions" #actions>
        <section v-for="action of actions" :key="action.text">
          {{ action.text }}
        </section>
      </template>
      <a-card-meta :title="title" :description="description"> </a-card-meta>
    </a-card>
  </main>
</template>

<script>
import { Image } from "ant-design-vue";
import { p1ViewConfig } from "@vp/show/p1.js";
export default {
  components: {
    AImage: Image,
  },
  setup() {
    const { cover, title, description, actions } = p1ViewConfig;
    return {
      cover,
      title,
      description,
      actions,
    };
  },
};
</script>

<style>
.about {
  padding: 10px, 50px;
  text-align: center;
}
</style>
